// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   SourceFile

package com.sgame.android;

import com.sgame.android.data.User;
import com.sgame.android.network.Credentials;
import org.apache.http.client.CookieStore;

public final class Session
{

    public Session()
    {
    }

    public final synchronized void Init(Credentials credentials, User user, CookieStore cookiestore)
    {
    	mCredentials = credentials;
        mUser = user;
        mCookies = cookiestore;
    }

    public final synchronized boolean isInit() //a
    {
        return mCredentials != null && mCredentials.hasOAuthToken();
    }

    public final synchronized Credentials getCredentials() //b
    {
        return mCredentials;
    }

    public final synchronized CookieStore getCookieStore() //c
    {
        return mCookies;
    }

    public final synchronized User getUser() //d
    {
        return mUser;
    }

    private Credentials mCredentials; //a
    private CookieStore mCookies; //b
    private User mUser; // c
}
